package com.genersoft.iot.vmp.storager.dao;


import com.genersoft.iot.vmp.storager.dao.dto.ChannelInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface ChannelMapper {



    @Select("select channel_id from wvp_device_channel where device_id=#{deviceId} ")
    ChannelInfo get(@Param("deviceId") String deviceId);
}
